<template>
  <el-button @click="isChart = !isChart">切换图谱结构</el-button>
  <div class="content">
    <Atlas v-if="isChart" />
    <AtlasTree v-else />
  </div>
</template>
<script setup>
import Atlas from './components/Atlas.vue'
import AtlasTree from './components/AtlasTree.vue'
const isChart = ref(false)
</script>

<style scoped>
.content {
  height: 90vh;
}
</style>
